package com.market.service.wx;

import com.market.bean.MarketComment;
import com.market.bean.MarketOrderGoods;
import com.market.bean.bo.wx.WxOrderCommentBo;
import com.market.bean.bo.wx.WxOrderSubmitBo;
import com.market.bean.common.CommonData;
import com.market.bean.vo.wx.WxOrderSubmitVo;
import com.market.bean.vo.wx.WxOrderDetailVo;
import com.market.bean.vo.wx.WxOrderListVo;

public interface WxOrderService {
    CommonData<WxOrderListVo> list(Short showType, Integer page, Integer limit,Integer userId);

    WxOrderDetailVo detail(Integer orderId);

    WxOrderSubmitVo submit(WxOrderSubmitBo wxOrderSubmitBo);

    int prepay(Integer orderId);

    void cancel(Integer orderId);

    void refund(Integer orderId);

    void confirm(Integer orderId);

    MarketOrderGoods goods(Integer orderId, Integer goodsId);

    MarketComment comment(WxOrderCommentBo wxOrderCommentBo);

    void delete(Integer orderId);


}
